import Vue from 'vue'
import Router from 'vue-router'
// @代表src
import Home from '@/views/Home.vue'
import newList from '@/views/newList.vue'
import newsinfo from '@/views/newsinfo.vue'
import photolist from '@/photosharing/photolist.vue'
Vue.use(Router)

export default new Router({
  routes: [
   {path:'/home',component:Home},
   {path:'/newList',component:newList},
   {path:'/newsinfo/:id',component:newsinfo},
   {path:'/photolist',component:photolist},
  ]
})
